<head th:include="/header:: header"></head>
<div class="row">
	<div class="col-lg-12">
		<section class="panel">
			<div class="panel-body">
				<form role="form" action=" " method="post" id="form">
					<div class="col-lg-12 col-sm-12 control-label">
						<div class="form-group">
							<label for="version">电子税务局版本号</label> <input name="version"
								class="form-control" id="version" th:value="${plan.version}" />
						</div>
					</div>
					<div class="col-lg-12 col-sm-12 control-label">
						<div class="form-group">
							<label for="dependOnVersion">依赖核心版本号</label> <input
								name="dependOnVersion" class="form-control" id="dependOnVersion"
								th:value="${plan.dependOnVersion}" />
						</div>
					</div>
					<div class="col-lg-12 col-sm-12 control-label">
						<div class="form-group">
							<label for="publishDateStr">版本发布时间</label>
							<div class="input-group date form_date " data-date=""
								data-date-format="yyyy-mm-dd" data-link-field="publishDateStr"
								data-link-format="yyyy-mm-dd">
								<input class="form-control" type="text" id="publishDateStr"
									name="publishDateStr"> <span class="input-group-addon"><span
									class="glyphicon glyphicon-remove"></span></span> <span
									class="input-group-addon"><span
									class="glyphicon glyphicon-calendar"></span></span></input>
							</div>
						</div>
					</div>
					<input type="hidden" name="id" id="id" th:value="${plan.id}" />
					<button type="button" class="btn btn-primary" id="submit">提交</button>
				</form>
			</div>
		</section>
	</div>
</div>
<script th:src="@{../modular/pms/mysql/versionPlan/edit.js}"></script>
<script th:inline="javascript">
    var publishDateStr = [[${plan.publishDate}]] == null ? "":[[${plan.publishDate}]].substring(0,10);
    $("#publishDateStr").val(publishDateStr);
</script>
<div th:include="/footer:: footer"></div>
